package com.server.orm.db.table;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;
import com.server.orm.db.TableLongKeyBase;

public class TB_role extends TableLongKeyBase {

    @Data
    public static class B_role {
        @JSONField(name = "1")
        private String name;
        @JSONField(name = "2")
        private long lastLoginTime;
    }

    public static TB_role get(long key) {
        return get(TB_role.class, key);
    }

    public TB_role.B_role getData() {
        return Data(TB_role.B_role.class);
    }
}
